package com.example.houtai.controller;


import com.example.houtai.entity.TbAlbumType;
import com.example.houtai.service.ITbAlbumTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 相册类型表 前端控制器
 * </p>
 *
 * @author 龚梦
 * @since 2021-04-02
 */
@RestController
@RequestMapping("/sys/album/type")
public class TbAlbumTypeController {

    @Autowired
    private ITbAlbumTypeService service;

    @RequestMapping("list")
    public List<TbAlbumType> list() {
        return service.list();
    }
}
